<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" >
    <title>Title</title>
</head>
<body>
<div align="center">
    <form action="/student/updateInfo"  method="post" enctype="multipart/form-data">
        <table aling="center">
            <tr>
                <td>sNo:</td>
                <td><input type="text" th:value="${session.student.sno}" name="sno"> </td>
            </tr>
            <tr>
                <td>sName:</td>
                <td><input type="text" th:value="${session.student.sname}" name="sname"> </td>
            </tr>
            <tr>
                <td>sSex:</td>
                <td><input type="text"th:value="${session.student.ssex}" name="ssex"> </td>
            </tr>
            <tr>
                <td>sDept:</td>
                <td><input type="text" th:value="${session.student.sdept}" name="sdept"> </td>
            </tr>
            <tr>
                <td>sClass:</td>
                <td><input type="text" th:value="${session.student.sclass}" name="sclass"> </td>
            </tr>
            <tr>
                <td>uId:</td>
                <td><input type="text" th:value="${session.student.uid}" name="uid" > </td>
            </tr>
            <tr>
                <td>头像</td>
                <td>
                    <input type="file" name="face">
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="提交">
                </td>
                <td><a th:href="@{/student/toStudent}"> 返回</a></td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>